//
//  SGImgDetailVC.h
//  HomePurchase
//
//  Created by Rowling on 2020/3/19.
//  Copyright © 2020 蜀归科技. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "SGDialog.h"
#import "HBDNavigationController.h"
#import "HBDNavigationBar.h"
#import "UIViewController+HBD.h"

#define SG_SCREEN_WIDTH      ([UIScreen mainScreen].bounds.size.width)
#define SG_SCREEN_HEIGHT     ([UIScreen mainScreen].bounds.size.height)
#define SG_STATUS_HEIGHT     (CGRectGetMaxY([UIApplication sharedApplication].statusBarFrame))

typedef NS_OPTIONS(NSUInteger, ImageDetailType) {
    CheckImg,       //默认，右侧按钮隐藏
    DeleteImg,     //可删除，右侧按钮为删除
    DownloadImg,   //可下载，右侧按钮为下载
};

NS_ASSUME_NONNULL_BEGIN

@interface ZMImageDetailVC : UIViewController

/** 标题*/
@property (copy, nonatomic) NSString *titles;
/** 图片数组*/
@property (copy, nonatomic) NSMutableArray *imgArr;
/** <#name#>*/
@property (assign, nonatomic) ImageDetailType  type;
@property (weak, nonatomic) IBOutlet UICollectionView *imgCollection;
/** <#name#>*/
@property (copy, nonatomic) void (^rightClickBlock)(NSInteger index);
/** <#name#>*/
@property (assign, nonatomic) BOOL  dismiss;

@end

@interface ZMImageDetailCell : UICollectionViewCell

@property(nonatomic,strong)UIImage *image;

@end

NS_ASSUME_NONNULL_END
